package com.lxmes.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 质检设备档案对象 nc_quality_inspection_equipment
 * 
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcQualityInspectionEquipment", description = "质检设备档案对象")    
public class NcQualityInspectionEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 设备编码 */
    @Excel(name = "设备编码")
    @ApiModelProperty("设备编码")
    private String equipmentCode;

    /** 设备类型 */
    @Excel(name = "设备类型")
    @ApiModelProperty("设备类型")
    private String equipmentType;

    /** 设备类别 */
    @Excel(name = "设备类别")
    @ApiModelProperty("设备类别")
    private String equipmentCategory;

    /** 设备大类 */
    @Excel(name = "设备大类")
    @ApiModelProperty("设备大类")
    private String equipmentClass;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty("设备名称")
    private String equipmentName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    @ApiModelProperty("规格型号")
    private String specificationModel;

    /** 设备功率 */
    @Excel(name = "设备功率")
    @ApiModelProperty("设备功率")
    private BigDecimal equipmentPower;

    /** 设备序列码 */
    @Excel(name = "设备序列码")
    @ApiModelProperty("设备序列码")
    private String equipmentSerialNumber;

    /** 设备标记 */
    @Excel(name = "设备标记")
    @ApiModelProperty("设备标记")
    private String equipmentLabel;

    /** 购置时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购置时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("购置时间")
    private Date acquisitionTime;

    /** 资产负责人 */
    @Excel(name = "资产负责人")
    @ApiModelProperty("资产负责人")
    private String assetManager;

    /** 使用寿命 */
    @Excel(name = "使用寿命")
    @ApiModelProperty("使用寿命")
    private Long serviceLife;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    @ApiModelProperty("供应商编码")
    private String supplierCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    @ApiModelProperty("供应商名称")
    private String supplierName;

    /** 制造商编码 */
    @Excel(name = "制造商编码")
    @ApiModelProperty("制造商编码")
    private String manufacturerCode;

    /** 制造商名称 */
    @Excel(name = "制造商名称")
    @ApiModelProperty("制造商名称")
    private String manufacturerName;

    /** 使用部门 */
    @Excel(name = "使用部门")
    @ApiModelProperty("使用部门")
    private String department;

    /** 使用状况 */
    @Excel(name = "使用状况")
    @ApiModelProperty("使用状况")
    private String usageStatus;

    /** 设备位置 */
    @Excel(name = "设备位置")
    @ApiModelProperty("设备位置")
    private String equipmentLocation;

    /** 设备地址 */
    @Excel(name = "设备地址")
    @ApiModelProperty("设备地址")
    private String equipmentAddress;

    /** IP地址 */
    @Excel(name = "IP地址")
    @ApiModelProperty("IP地址")
    private String ipAddress;

    /** MAC地址 */
    @Excel(name = "MAC地址")
    @ApiModelProperty("MAC地址")
    private String macAddress;

    /** 操作人员 */
    @Excel(name = "操作人员")
    @ApiModelProperty("操作人员")
    private String operator;

    /** 固定资产编号 */
    @Excel(name = "固定资产编号")
    @ApiModelProperty("固定资产编号")
    private String fixedAssetNumber;

    /** 启用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "启用时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("启用时间")
    private Date startTime;

    /** 设备图片地址 */
    @Excel(name = "设备图片地址")
    @ApiModelProperty("设备图片地址")
    private String equipmentImageUrl;

    /** 设备二维码地址 */
    @Excel(name = "设备二维码地址")
    @ApiModelProperty("设备二维码地址")
    private String equipmentQrCodeUrl;

    /** 设备保养周期 */
    @Excel(name = "设备保养周期")
    @ApiModelProperty("设备保养周期")
    private String maintenanceCycle;

    /** 设备维护周期 */
    @Excel(name = "设备维护周期")
    @ApiModelProperty("设备维护周期")
    private String maintenancePeriod;

    /** 设备程序代码 */
    @Excel(name = "设备程序代码")
    @ApiModelProperty("设备程序代码")
    private String equipmentProgramCode;

    /** 设备程序包 */
    @Excel(name = "设备程序包")
    @ApiModelProperty("设备程序包")
    private String equipmentProgramPackage;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setEquipmentCode(String equipmentCode) 
    {
        this.equipmentCode = equipmentCode;
    }

    public String getEquipmentCode() 
    {
        return equipmentCode;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setEquipmentCategory(String equipmentCategory) 
    {
        this.equipmentCategory = equipmentCategory;
    }

    public String getEquipmentCategory() 
    {
        return equipmentCategory;
    }
    public void setEquipmentClass(String equipmentClass) 
    {
        this.equipmentClass = equipmentClass;
    }

    public String getEquipmentClass() 
    {
        return equipmentClass;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setSpecificationModel(String specificationModel) 
    {
        this.specificationModel = specificationModel;
    }

    public String getSpecificationModel() 
    {
        return specificationModel;
    }
    public void setEquipmentPower(BigDecimal equipmentPower) 
    {
        this.equipmentPower = equipmentPower;
    }

    public BigDecimal getEquipmentPower() 
    {
        return equipmentPower;
    }
    public void setEquipmentSerialNumber(String equipmentSerialNumber) 
    {
        this.equipmentSerialNumber = equipmentSerialNumber;
    }

    public String getEquipmentSerialNumber() 
    {
        return equipmentSerialNumber;
    }
    public void setEquipmentLabel(String equipmentLabel) 
    {
        this.equipmentLabel = equipmentLabel;
    }

    public String getEquipmentLabel() 
    {
        return equipmentLabel;
    }
    public void setAcquisitionTime(Date acquisitionTime) 
    {
        this.acquisitionTime = acquisitionTime;
    }

    public Date getAcquisitionTime() 
    {
        return acquisitionTime;
    }
    public void setAssetManager(String assetManager) 
    {
        this.assetManager = assetManager;
    }

    public String getAssetManager() 
    {
        return assetManager;
    }
    public void setServiceLife(Long serviceLife) 
    {
        this.serviceLife = serviceLife;
    }

    public Long getServiceLife() 
    {
        return serviceLife;
    }
    public void setSupplierCode(String supplierCode) 
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode() 
    {
        return supplierCode;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setManufacturerCode(String manufacturerCode) 
    {
        this.manufacturerCode = manufacturerCode;
    }

    public String getManufacturerCode() 
    {
        return manufacturerCode;
    }
    public void setManufacturerName(String manufacturerName) 
    {
        this.manufacturerName = manufacturerName;
    }

    public String getManufacturerName() 
    {
        return manufacturerName;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setUsageStatus(String usageStatus) 
    {
        this.usageStatus = usageStatus;
    }

    public String getUsageStatus() 
    {
        return usageStatus;
    }
    public void setEquipmentLocation(String equipmentLocation) 
    {
        this.equipmentLocation = equipmentLocation;
    }

    public String getEquipmentLocation() 
    {
        return equipmentLocation;
    }
    public void setEquipmentAddress(String equipmentAddress) 
    {
        this.equipmentAddress = equipmentAddress;
    }

    public String getEquipmentAddress() 
    {
        return equipmentAddress;
    }
    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }
    public void setMacAddress(String macAddress) 
    {
        this.macAddress = macAddress;
    }

    public String getMacAddress() 
    {
        return macAddress;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setFixedAssetNumber(String fixedAssetNumber) 
    {
        this.fixedAssetNumber = fixedAssetNumber;
    }

    public String getFixedAssetNumber() 
    {
        return fixedAssetNumber;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEquipmentImageUrl(String equipmentImageUrl) 
    {
        this.equipmentImageUrl = equipmentImageUrl;
    }

    public String getEquipmentImageUrl() 
    {
        return equipmentImageUrl;
    }
    public void setEquipmentQrCodeUrl(String equipmentQrCodeUrl) 
    {
        this.equipmentQrCodeUrl = equipmentQrCodeUrl;
    }

    public String getEquipmentQrCodeUrl() 
    {
        return equipmentQrCodeUrl;
    }
    public void setMaintenanceCycle(String maintenanceCycle) 
    {
        this.maintenanceCycle = maintenanceCycle;
    }

    public String getMaintenanceCycle() 
    {
        return maintenanceCycle;
    }
    public void setMaintenancePeriod(String maintenancePeriod) 
    {
        this.maintenancePeriod = maintenancePeriod;
    }

    public String getMaintenancePeriod() 
    {
        return maintenancePeriod;
    }
    public void setEquipmentProgramCode(String equipmentProgramCode) 
    {
        this.equipmentProgramCode = equipmentProgramCode;
    }

    public String getEquipmentProgramCode() 
    {
        return equipmentProgramCode;
    }
    public void setEquipmentProgramPackage(String equipmentProgramPackage) 
    {
        this.equipmentProgramPackage = equipmentProgramPackage;
    }

    public String getEquipmentProgramPackage() 
    {
        return equipmentProgramPackage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("equipmentCode", getEquipmentCode())
            .append("equipmentType", getEquipmentType())
            .append("equipmentCategory", getEquipmentCategory())
            .append("equipmentClass", getEquipmentClass())
            .append("equipmentName", getEquipmentName())
            .append("specificationModel", getSpecificationModel())
            .append("equipmentPower", getEquipmentPower())
            .append("equipmentSerialNumber", getEquipmentSerialNumber())
            .append("equipmentLabel", getEquipmentLabel())
            .append("acquisitionTime", getAcquisitionTime())
            .append("assetManager", getAssetManager())
            .append("serviceLife", getServiceLife())
            .append("supplierCode", getSupplierCode())
            .append("supplierName", getSupplierName())
            .append("manufacturerCode", getManufacturerCode())
            .append("manufacturerName", getManufacturerName())
            .append("department", getDepartment())
            .append("usageStatus", getUsageStatus())
            .append("equipmentLocation", getEquipmentLocation())
            .append("equipmentAddress", getEquipmentAddress())
            .append("ipAddress", getIpAddress())
            .append("macAddress", getMacAddress())
            .append("operator", getOperator())
            .append("fixedAssetNumber", getFixedAssetNumber())
            .append("startTime", getStartTime())
            .append("equipmentImageUrl", getEquipmentImageUrl())
            .append("equipmentQrCodeUrl", getEquipmentQrCodeUrl())
            .append("maintenanceCycle", getMaintenanceCycle())
            .append("maintenancePeriod", getMaintenancePeriod())
            .append("equipmentProgramCode", getEquipmentProgramCode())
            .append("equipmentProgramPackage", getEquipmentProgramPackage())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
